package com.syas.model.models;

import com.syas.base.model.interfaces.ICUDEable;
import com.syas.base.model.models.EnableEntity;

/**
 * Created by weigong on 2015/11/28.
 */
public class EnumItem extends EnableEntity<Integer> implements ICUDEable {

    // Fields
    private String name;
    private String code;
    private Integer typeid;

    public EnumItem() {
    }

    public EnumItem(String name, String code, Integer typeid) {
        this.name = name;
        this.code = code;
        this.typeid = typeid;
    }

    @Override
    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

    public Integer getTypeid() {
        return typeid;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }
}
